package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 入库单表
 * </p>
 * @author zhucx
 * @since 2023-08-14
 */
@Data
@TableName("hx_storage_put")
public class HxStoragePut implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 单据状态（未完成、已完成）
     */
    @TableField("storage_state")
    private String storageState;

    /**
     * 预约时间
     */
    @TableField("yuyue_time")
    private String yuyueTime;

    /**
     * 入库单编号
     */
    @TableField("storage_number")
    private String storageNumber;

    /**
     * 单据类型
     */
    @TableField("order_type")
    private String orderType;

    /**
     * 收货门店id
     */
    @TableField("get_unit_id")
    private Long getUnitId;

    /**
     * 收货门店
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 收货仓库id
     */
    @TableField("get_warehouse_id")
    private Long getWarehouseId;

    /**
     * 收货仓库
     */
    @TableField("get_warehouse")
    private String getWarehouse;

    /**
     * 发货客户id
     */
    @TableField("set_unit_id")
    private Long setUnitId;

    /**
     * 发货客户
     */
    @TableField("set_unit")
    private String setUnit;

    /**
     * 商品数
     */
    @TableField("goods_num")
    private String goodsNum;

    /**
     * 数量
     */
    @TableField("put_num")
    private String putNum;

    /**
     * 体积
     */
    @TableField("put_volume")
    private String putVolume;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 完成时间
     */
    @TableField("complete_time")
    private Date completeTime;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "HxStoragePut{" +
        "id=" + id +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", storageState=" + storageState +
        ", storageNumber=" + storageNumber +
        ", orderType=" + orderType +
        ", getUnitId=" + getUnitId +
        ", getUnit=" + getUnit +
        ", getWarehouseId=" + getWarehouseId +
        ", getWarehouse=" + getWarehouse +
        ", setUnitId=" + setUnitId +
        ", setUnit=" + setUnit +
        ", goodsNum=" + goodsNum +
        ", putNum=" + putNum +
        ", putVolume=" + putVolume +
        ", createTime=" + createTime +
        ", createUserName=" + createUserName +
        ", notes=" + notes +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
